package BookManagement.operation;

import BookManagement.book.Book;
import BookManagement.book.Bookshelf;

public class ShowBook implements IBusinessOperation{
    @Override
    public void work(Bookshelf bookshelf) {
        System.out.println("显示图书……");
        int numer = bookshelf.book_umber;
        for (int i = 0; i < numer; i++) {
            System.out.println(bookshelf.books[i]);
        }
        System.out.println("当前图书数量："+bookshelf.book_umber);
        System.out.println("所有图书信息！");
    }
}
